Micron Document
🎖️GitЯра🎖️

Node / meshtastic / Meshtastic-Android / files / feature / node / src / main / kotlin / org / meshtastic / feature / node / component / RemoteDeviceActions.kt

Displaying Raw • Download

feature/node/src/main/kotlin/org/meshtastic/feature/node/component/RemoteDeviceActions.kt 78274c792318331b11ab64cd28e58e829875b8c2 (78274c79) Text, 2.38 KB

T8b949e/*
* Copyright (c) 2025 Meshtastic LLC
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/

Tff7b72package T7ee787org.meshtastic.feature.node.component

Tff7b72import T7ee787androidx.compose.material.icons.Icons
Tff7b72import T7ee787androidx.compose.material.icons.automirrored.twotone.Message
Tff7b72import T7ee787androidx.compose.material.icons.filled.Person
Tff7b72import T7ee787androidx.compose.runtime.Composable
Tff7b72import T7ee787org.jetbrains.compose.resources.stringResource
Tff7b72import T7ee787org.meshtastic.core.database.model.Node
Tff7b72import T7ee787org.meshtastic.core.strings.Res
Tff7b72import T7ee787org.meshtastic.core.strings.direct_message
Tff7b72import T7ee787org.meshtastic.core.strings.exchange_userinfo
Tff7b72import T7ee787org.meshtastic.core.ui.component.InsetDivider
Tff7b72import T7ee787org.meshtastic.core.ui.component.ListItem
Tff7b72import T7ee787org.meshtastic.feature.node.model.NodeDetailAction
Tff7b72import T7ee787org.meshtastic.feature.node.model.isEffectivelyUnmessageable

Tf0883e@Composable
Tff7b72internal Tff7b72fun Td2a8ffRemoteDeviceActionsTb4b4b4(Te6edf3nodeTb4b4b4: Te6edf3NodeTb4b4b4, Te6edf3lastTracerouteTimeTb4b4b4: Tffa657Long?Tb4b4b4, Te6edf3onActionTb4b4b4: Tb4b4b4(Te6edf3NodeDetailActionTb4b4b4) Tff7b72-Tff7b72> Tffa657UnitTb4b4b4) Tb4b4b4{
Tff7b72if Tb4b4b4(Tff7b72!Te6edf3nodeTb4b4b4.Te6edf3isEffectivelyUnmessageableTb4b4b4) Tb4b4b4{
Te6edf3ListItemTb4b4b4(
Te6edf3text Tff7b72= Te6edf3stringResourceTb4b4b4(Te6edf3ResTb4b4b4.Te6edf3stringTb4b4b4.Te6edf3direct_messageTb4b4b4)Tb4b4b4,
Te6edf3leadingIcon Tff7b72= Te6edf3IconsTb4b4b4.Te6edf3AutoMirroredTb4b4b4.Te6edf3TwoToneTb4b4b4.Te6edf3MessageTb4b4b4,
Te6edf3trailingIcon Tff7b72= Tff7b72nullTb4b4b4,
Te6edf3onClick Tff7b72= Tb4b4b4{ Te6edf3onActionTb4b4b4(Te6edf3NodeDetailActionTb4b4b4.Te6edf3HandleNodeMenuActionTb4b4b4(Te6edf3NodeMenuActionTb4b4b4.Te6edf3DirectMessageTb4b4b4(Te6edf3nodeTb4b4b4)Tb4b4b4)Tb4b4b4) Tb4b4b4}Tb4b4b4,
Tb4b4b4)

Te6edf3InsetDividerTb4b4b4(Tb4b4b4)
Tb4b4b4}

Te6edf3ListItemTb4b4b4(
Te6edf3text Tff7b72= Te6edf3stringResourceTb4b4b4(Te6edf3ResTb4b4b4.Te6edf3stringTb4b4b4.Te6edf3exchange_userinfoTb4b4b4)Tb4b4b4,
Te6edf3leadingIcon Tff7b72= Te6edf3IconsTb4b4b4.Te6edf3DefaultTb4b4b4.Te6edf3PersonTb4b4b4,
Te6edf3trailingIcon Tff7b72= Tff7b72nullTb4b4b4,
Te6edf3onClick Tff7b72= Tb4b4b4{ Te6edf3onActionTb4b4b4(Te6edf3NodeDetailActionTb4b4b4.Te6edf3HandleNodeMenuActionTb4b4b4(Te6edf3NodeMenuActionTb4b4b4.Te6edf3RequestUserInfoTb4b4b4(Te6edf3nodeTb4b4b4)Tb4b4b4)Tb4b4b4) Tb4b4b4}Tb4b4b4,
Tb4b4b4)

Te6edf3InsetDividerTb4b4b4(Tb4b4b4)

Te6edf3TracerouteButtonTb4b4b4(
Te6edf3lastTracerouteTime Tff7b72= Te6edf3lastTracerouteTimeTb4b4b4,
Te6edf3onClick Tff7b72= Tb4b4b4{ Te6edf3onActionTb4b4b4(Te6edf3NodeDetailActionTb4b4b4.Te6edf3HandleNodeMenuActionTb4b4b4(Te6edf3NodeMenuActionTb4b4b4.Te6edf3TraceRouteTb4b4b4(Te6edf3nodeTb4b4b4)Tb4b4b4)Tb4b4b4) Tb4b4b4}Tb4b4b4,
Tb4b4b4)
Tb4b4b4}

Served by rngit 1.5.0 - Generated in 0.04s